const date=function(options){
	let y = options.getFullYear();
	let M = options.getMonth() + 1;
	let d = options.getDate();
	let h = options.getHours();
	let m = options.getMinutes();
	let s = options.getSeconds();
	
	let oDate=y+'-'+M+'-'+d +' '+h+':'+m+':'+s;
	return oDate;
}
export default date;